package janino.analisador;

import java.io.IOException;
import java.io.Reader;

public class FilterReader extends Reader {

    protected Reader in;

    protected FilterReader(Reader in) {
        super(in);
        this.in = in;
    }

    public int read(char[] cbuf, int off, int len) throws IOException {
        return in.read(cbuf, off, len);
    }

    public void close() throws IOException {
        in.close();
    }
}
